<?php
echo 'Edit Images Sub Banner ';
echo '<br /><br />';
echo $error;
if (isset($imgid))
	$id=$imgid ;
else $id=0;
echo form_open_multipart('addmincont/changeImage');
	echo "<table>";
		
		echo "<tr><td>";
			echo "Select Images : ";
		echo "</td>";
		echo "<td>";
			echo '<input type="file" name="userfile" id = "userfile" size="30px" />';
			echo '<input type = "hidden" id="imgid" name="imgid" value="'.$id.'" />';
		echo "</td></tr>";
		
		echo "<tr><td colspan='2'>";
			
			echo '<input type="submit" value="Add" />';
		echo "</tr></td>";
echo '</table></form>';